package com.example.springbootlearn.security.mapper;


import com.example.springbootlearn.security.pojo.Menu;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MenuMapper {
    List<Menu> getAllMenu();

    List<Menu> getAllMenuByUserId(Integer userId);
}
